﻿@model  iPick.Models.Application
@{
    ViewBag.Title = "IndexDetail";
    Layout = "~/Views/Shared/Mobile/_layout.cshtml";
}

@Html.Partial("~/Views/Shared/Mobile/_HeaderBack.cshtml")
<script type="text/javascript">
$(document).ready(function () {
    //Rating Bar
    $('.movie_rating').ratingbar({
        maxRating: 10,
        showText: false
    });
});
</script>
<img src="@Model.Catalog.PosterLarge"  />

<h3 class="ui-li-heading">
    @Html.Label(Model.Catalog.Title)</h3>
<p class="ui-li-desc">
    Release Year:@Html.Label(Model.Catalog.ReleaseYear.ToString())</p>
<p class="ui-li-desc">
    Rated:@Html.Label(Model.Catalog.MPAA_Rating)</p>
<p class="ui-li-desc">
    Viewer Rating: @Html.Label(Model.Catalog.ViewerRating) <span class="movie_rating">@Html.Label(Model.Catalog.ViewerRating)</span></p>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">	var addthis_config = { "data_track_addressbar": true };</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4fa9306f2931a9d5"></script>
<!-- AddThis Button END -->
<p class="ui-li-desc-long">Description:<br />
    @Model.Catalog.Description.ToString()</p>
